b28cc0f755c738369d317e37efdf6309e560629e,src/main/java/nex/util/WorldGenUtil.java,WorldGenUtil,getSuitableGroundPos,#World#BlockPos#number#number#number#,35

Before Change



                    if(block != Blocks.NETHER_BRICK && block.isBlockSolid(world, newPos, EnumFacing.DOWN))
                    {
                        if(world.isAirBlock(newPos.up()))
                        {
                            topBlocks++;
                        }

After Change



                    if(foundations.contains(state))
                    {
                        if(world.getBlockState(newPos.up()).getMaterial().isReplaceable() && !world.getBlockState(newPos.down()).getMaterial().isReplaceable())
                        {
                            topBlocks++;
                        }